<?php
namespace app\common\error;

class CodeBase
{
    public static $success = [RESULT_CODE => 200, RESULT_MESSAGE => '操作成功',RESULT_SUCCESS => true];

    public static $error = [RESULT_CODE => 500, RESULT_MESSAGE => '操作失败',RESULT_SUCCESS => false];

    public static $accessTokenError = [RESULT_CODE => 10001, RESULT_MESSAGE => '访问Token错误',RESULT_SUCCESS => false];

    public static $userTokenNull = [RESULT_CODE => 10002, RESULT_MESSAGE => '用户Token不能为空',RESULT_SUCCESS => false];

    public static $apiUrlError = [RESULT_CODE => 10003, RESULT_MESSAGE => '接口路径错误',RESULT_SUCCESS => false];

    public static $dataSignError = [RESULT_CODE => 10004, RESULT_MESSAGE => '数据签名错误',RESULT_SUCCESS => false];

    public static $ExpireInTime = [RESULT_CODE => 10005, RESULT_MESSAGE => '登陆信息失效，请重新登录',RESULT_SUCCESS => false];

    public static $NotFoundLoginInfo = [RESULT_CODE => 10006, RESULT_MESSAGE => '未找到登录相关信息',RESULT_SUCCESS => false];

    public static $LoseBasicParam = [RESULT_CODE => 10007, RESULT_MESSAGE => '缺少基本参数',RESULT_SUCCESS => false];

    public static $emptyResult = [RESULT_CODE => 10008, RESULT_MESSAGE => '无匹配数据',RESULT_SUCCESS => false];

}
